package cn.xiqi.cms.action;

import java.util.Map;

import cm.xiqi.cms.oper.UserOper;
import net.sf.json.JSON;
import net.sf.json.JSONObject;

public class UserAction extends BaseAction {

	private static final long serialVersionUID = 266378687020963497L;
	private Map<String, Object> map;
	private JSON allJson;
	
	public String getAll(){
		UserOper bean = new UserOper();
		allJson = new JSONObject();
		
		map = bean.getAll(0, 0);
		allJson = JSONObject.fromObject(map);
		return SUCCESS;
	}

	public JSON getAllJson() {
		return allJson;
	}

	public void setAllJson(JSON allJson) {
		this.allJson = allJson;
	}

}
